<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:f="http://java.sun.com/jsf/core" 
  xmlns:p="http://primefaces.org/ui" 
  xmlns:h="http://java.sun.com/jsf/html" 
  xmlns:pr="http://java.sun.com/jsf/composite/totororo"
  template="template_front.xhtml">
  <ui:define name="content">  


<h3>Message</h3>
<h:form id="form2">
    <h:panelGrid id="grid" columns="3">
        <h:outputText value="Default: *" />
        <p:inputText id="default" required="true" />
        <p:message id="defaultMessage" for="default" />

        <h:outputText value="Text Only: *" />
        <p:inputText id="textOnly" required="true" />
        <p:message id="textOnlyMessage" for="textOnly" display="text" />

        <h:outputText value="Icon Only: *" />
        <p:inputText id="iconOnly" required="true" />
        <p:message id="iconMessage" for="iconOnly" display="icon" />
    </h:panelGrid>

    <p:commandButton id="submitButton" value="Submit" update="grid"/>
</h:form>
			
			
	</ui:define>
</ui:composition>
